package Cinema.Tests;

import Exceptions.BadArgumentException;
import Exceptions.CinemaException;
import Exceptions.DataAccessException;

public interface IXmlParsableTest {

	/**
	 * tests getXml method
	 * tested Object converted to xml doc and compared with control doc
	 * @throws DataAccessException
	 * @throws BadArgumentException 
	 * @throws CinemaException 
	 */
	public void test_getXml () throws DataAccessException, BadArgumentException, CinemaException;
	
	/**
	 * tests initFromXml method
	 * tested object created from xml element and compared with control object
	 * @throws BadArgumentException
	 * @throws DataAccessException
	 * @throws CinemaException 
	 */
	public void test_initFromXml () throws DataAccessException, BadArgumentException, CinemaException;
}
